package com.gitee.wsl.unit.force

import com.gitee.wsl.unit.BaseUnit


class ForceUnit( value:Long, type: ForceUnitType): BaseUnit<Long, ForceUnitType>(value, type) {

    override fun toBase(): Long {
        return value * type.baseUnit
    }

    override fun format(): String {
        return "$value ${type::class.qualifiedName}"
    }

    override fun convertTo(desType: ForceUnitType): BaseUnit<Long, ForceUnitType> {
        TODO("Not yet implemented")
    }


}